package com.ericsson.enap.modules.kpi.service.impl;

import com.ericsson.enap.modules.kpi.entity.EnipKpiAlarm;
import com.ericsson.enap.modules.kpi.entity.EnipKpiDataResult;
import com.ericsson.enap.modules.kpi.mapper.EnipKpiAlarmMapper;
import com.ericsson.enap.modules.kpi.service.EnipKpiAlarmService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class EnipKpiAlarmServiceImpl implements EnipKpiAlarmService {

    @Autowired
    EnipKpiAlarmMapper enipKpiAlarmMapper;

    @Override
    public int insertEnipKpiAlarm(EnipKpiAlarm enipKpiAlarm) {
        return enipKpiAlarmMapper.insertEnipKpiAlarm(enipKpiAlarm);
    }

    @Override
    public List<EnipKpiAlarm> selectEnipKpiAlarm(EnipKpiAlarm enipKpiAlarm) {
        return enipKpiAlarmMapper.selectEnipKpiAlarm(enipKpiAlarm);
    }

    @Override
    public void dealEnipVgcKpiFivAlarm(EnipKpiDataResult kpiDataResult) {

    }
}
